package com.zhao.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author : Mr.zhao
 * @Date: 2022/05/14/16:23
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Calendars {
    @TableId(type = IdType.AUTO)
    private Integer id;
	private String title;
    private String directions;
    private String drink;
    private String bad;
    private String good;
    private String number;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(exist = false)
    private List<String> badList;
    @TableField(exist = false)
    private List<String> goodList;
}
